cd "F:\Dropbox\School\Research Projects\Populism\Articles\Populist Psychology\Submission files\JOP 2020\Final\Replication files"

use "study 1 prepped.dta", clear

tab region treat, chi column taub
tab gender treat, chi column taub
tab race treat, chi column taub
reg partyid i.treat
margins, at(treat = (0 1 2 3 4))
sum partyid
reg ed i.treat
margins, at(treat = (0 1 2 3 4))
sum ed
reg income i.treat
margins, at(treat = (0 1 2 3 4))
sum income
reg age i.treat
margins, at(treat = (0 1 2 3 4))
sum age

use "study 3 prepped.dta", clear

tab region treat, chi column taub
tab gender treat, chi column taub
tab race treat, chi column taub
reg partyid i.treat
margins, at(treat = (0 1 2 3))
sum partyid
reg ed i.treat
margins, at(treat = (0 1 2 3))
sum ed
reg income i.treat
margins, at(treat = (0 1 2 3))
sum income
reg age i.treat
margins, at(treat = (0 1 2 3))
sum age


